<script setup lang="ts">
import Sidebar from './components/Sidebar/Sidebar.vue'
</script>

<template>
  <div class="app-layout">
    <Sidebar />
    <div class="main-content">
      <router-view />
    </div>
  </div>
</template>

<style scoped>
.app-layout {
  display: flex;
  height: 100vh; /* 设置全屏高度 */
}

.main-content {
  flex: 1;
  padding: 20px;
  overflow: auto; /* 添加滚动条以防内容溢出 */
}
</style>
